package com.flitsneak.designpatterns.creationalpatterns.prototype;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/7 10:30
 * @description
 */
public class FeiFei {
    public static void main(String[] args) {
        Origami origami = new Origami("heart",3);
        origami.show();
        Origami clone = origami.clone();
        clone.setType("pig");
        clone.setPapers(2);
        clone.show();
    }
}
